home *** CD-ROM | disk | FTP | other *** search
Makefile | 1991-06-05 | 1.7 KB | 57 lines |
- # Generic application makefile
- #
- # NOTE: this makefile should be written using :: rules, however
- # these currently cause AMU to bomb out. As a result it is
- # necessary to comment out generic rules from the end of the
- # file where appropriate.
- #
- # GENERIC OPTIONS
- #
- MKDIR =cdir
- CP =copy
- CPFLAGS=A~C~DF~L~N~PQR~S~T~V
- PROGDIR=$(INSTDIR).$(PROGRAM)
- #
- # PROGRAM SPECIFIC OPTIONS
- #
- PROGRAM=!SetIcons
- FILES =!Boot !Run !RunImage Redraw\
- !Sprites !Sprites22 !Sprites23\
- 223dBoxes 22Sprites 233dBoxes 23Sprites 24Sprites 243dBoxes WinIcons3d\
- Templates Templates3
- #
- # GENERIC RULES
- #
- all: $(FILES)
- @echo $(PROGRAM): all build complete
-
- $(PROGDIR):
- $(MKDIR) $@
- #
- # PROGRAM SPECIFIC RULES
- #
- install: $(FILES) $(PROGDIR)
- $(CP) !Boot $(PROGDIR).!Boot $(CPFLAGS)
- $(CP) !Run $(PROGDIR).!Run $(CPFLAGS)
- $(CP) !RunImage $(PROGDIR).!RunImage $(CPFLAGS)
- $(CP) !Sprites $(PROGDIR).!Sprites $(CPFLAGS)
- $(CP) !Sprites22 $(PROGDIR).!Sprites22 $(CPFLAGS)
- $(CP) !Sprites23 $(PROGDIR).!Sprites23 $(CPFLAGS)
- $(CP) Redraw $(PROGDIR).Redraw $(CPFLAGS)
- $(CP) 223dboxes $(PROGDIR).223dBoxes $(CPFLAGS)
- $(CP) 22Sprites $(PROGDIR).22Sprites $(CPFLAGS)
- $(CP) 233dBoxes $(PROGDIR).233dBoxes $(CPFLAGS)
- $(CP) 23Sprites $(PROGDIR).23Sprites $(CPFLAGS)
- $(CP) 243dBoxes $(PROGDIR).243dBoxes $(CPFLAGS)
- $(CP) 24Sprites $(PROGDIR).24Sprites $(CPFLAGS)
- $(CP) WinIcons3d $(PROGDIR).WinIcons3d $(CPFLAGS)
- $(CP) Templates $(PROGDIR).Templates $(CPFLAGS)
- $(CP) Templates3 $(PROGDIR).Templates3 $(CPFLAGS)
- #
- # GENERIC RULES
- #
- clean:
- @echo $(PROGRAM): cleaned
- #install:
- # @echo $(PROGRAM): installed
-